<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        td {
            width: 100px;
            background-color: darkgreen;
        }
    </style>
</head>
<body>
    <div id="app">
        <table>
            <tr v-for="(user,i) in users">
                <td>{{i}}</td>
                <td v-text="user.name"></td>
                <td v-text="user.gender"></td>
                <td v-text="user.age"></td>
            </tr>
        </table>
    </div>
    <script src="./node_modules/vue/dist/vue.js"></script>
    <script>
        var vue = new Vue({
            el: "#app",
            data:{
                users:[
                    {name:'柳岩', gender:'女', age: 21},
                    {name:'有哥', gender:'男', age: 30},
                    {name:'范冰冰', gender:'女', age: 24},
                    {name:'刘亦菲', gender:'女', age: 18},
                    {name:'古力娜扎', gender:'女', age: 25}
                ]
            }
        });
    </script>
</body>
</html>